package org.sdp.pearproject.service;

import org.sdp.pearproject.dto.request.*;
import org.sdp.pearproject.dto.response.*;
import java.util.List;

/**
 * InterfaceName: TaskService
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-18
 * @Version: 1.0
 * Table: pear_task
 * Comment:
 * 任务表
 */
public interface TaskService {
    Integer addTask(TaskAddRequest request) throws Exception;

    Integer updateTask(TaskUpdateRequest request) throws Exception;

    Integer deleteTask(TaskDeleteRequest request) throws Exception;

    TaskQueryResponse queryTask(TaskQueryRequest request) throws Exception;

    List<TaskQueryResponse> listTask(TaskQueryRequest request) throws Exception;

    Integer countTask(TaskQueryRequest request) throws Exception;

    BaseStatResponse statTask(TaskQueryRequest request) throws Exception;

}
